/* Reset 样式 */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* 颜色定义 */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #388E3C;
    --background-color: #fff;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --hover-color: #e8f5e9;
}

/* Hero 区域 */
.hero {
    background: linear-gradient(rgba(235, 241, 236, 0.7), rgba(231, 237, 231, 0.7)), url('../img/img.jpg') no-repeat center center/cover;
    padding: 4rem 2rem;
    text-align: center;
    color: #fff;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 8px;
    animation: fadeIn 1.2s ease;
}

.hero .btn {
    padding: 0.8rem 1.6rem;
    color: var(--primary-color);
    background-color: #ffffff;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hero .btn:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* 演唱会列表样式 */
.concert-list {
    padding: 3rem 1rem;
    text-align: center;
    background-color: var(--light-gray);
}

.concert-list h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

.concert-image {
    width: 200px; /* 固定宽度 */
    height: 150px; /* 固定高度 */
    object-fit: cover; /* 保持图像比例并填充整个框 */
}

/* Grid 布局 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.concert-card {
    background-color: var(--background-color);
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.concert-card img {
    width: 100%;
    height: 800px;
}

.card-content {
    padding: 1rem;
    text-align: left;
}

.card-content h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.card-content p {
    margin: 0.5rem 0;
    color: var(--text-color);
}

.card-content .btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    color: #fff;
    background-color: var(--primary-color);
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.card-content .btn:hover {
    background-color: var(--secondary-color);
}

/* Footer 样式 */

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content {
        padding: 1.5rem;
    }
}
